<?php namespace App\Controllers\Phm\System;

use App\Controllers\Phm\TxController;

//访问地址：http://127.0.0.1/phm/public/index.php/phm/system/menu
//用来测试简单的访问功能
class Menu extends TxController
{
    var $sqlQuery;

    function __construct()
    {
        parent::__construct();
        //创建数据库连接
        //$this->sqlQuery = new \App\Models\Phm\Qar\ModelBreak();
    }

    //index主页
    public function index()
    {
        //显示数据
        echo view('phm/head', $this->menuUrl);
        echo view('phm/menu/index', $this->menuUrl);
        echo view('phm/foot', $this->menuUrl);
    }

    public function customization()
    {
        //显示数据
        echo view('phm/head', $this->menuUrl);
        echo view('phm/menu/customization', $this->menuUrl);
        echo view('phm/foot', $this->menuUrl);
    }

    public function changelog()
    {
        //显示数据
        echo view('phm/head', $this->menuUrl);
        echo view('phm/menu/changelog', $this->menuUrl);
        echo view('phm/foot', $this->menuUrl);
    }
    //--------------------------------------------------------------------
}